package com.doudou.collection.domain.service.admin;

import com.doudou.collection.orm.dto.admin.login.LoginDTO;
import com.doudou.collection.orm.vo.UserLoginSimpleVO;
import com.doudou.collection.orm.vo.admin.ImageCodeVO;
import org.springframework.security.core.Authentication;

/**
 * className: UserAdminService<br>
 * description: 管理员业务逻辑层<br>
 * author: 李浩文<br>
 * date: 2023/6/20 19:57<br>
 * version: 1.0<br>
 */
public interface LoginService {

    /**
     * 管理员登陆业务逻辑
     * @param loginDTO
     * @return
     */
    UserLoginSimpleVO login(LoginDTO loginDTO);

    /**
     * 生成图片验证码
     * @return
     */
    ImageCodeVO generateCaptchaImg();
}
